<?php
session_start();
?>
<?php
require "lib/db.php";
require "lib/order-function.php";

if(isset($_GET['orderid'])){
	$orderID = $_GET['orderid'];
	settype($orderID,"int");
	deleteOrder($orderID);
	header("location:list-order.php");
}
?>